package org.jeecg.modules.device.com.pudong.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: product
 * @Author: jeecg-boot
 * @Date:   2024-06-06
 * @Version: V1.0
 */
@Data
@TableName("product")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="product对象", description="product")
public class Product implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**MasterKey*/
	@Excel(name = "MasterKey", width = 15)
    @ApiModelProperty(value = "MasterKey")
    private java.lang.String apiKey;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private java.lang.String productName;
	/**接入类型*/
	@Excel(name = "接入类型", width = 15, dicCode = "access_type")
	@Dict(dicCode = "access_type")
    @ApiModelProperty(value = "接入类型")
    private java.lang.Integer accessType;
	/**更新者*/
    @ApiModelProperty(value = "更新者")
    private java.lang.String updateBy;
	/**数据加密方式*/
	@Excel(name = "数据加密方式", width = 15, dicCode = "data_type")
	@Dict(dicCode = "data_type")
    @ApiModelProperty(value = "数据加密方式")
    private java.lang.Integer dataEncryption;
	/**认证方式*/
	@Excel(name = "认证方式", width = 15, dicCode = "auth_type")
	@Dict(dicCode = "auth_type")
    @ApiModelProperty(value = "认证方式")
    private java.lang.Integer authtype;
	/**网络类型*/
	@Excel(name = "网络类型", width = 15, dicCode = "network_type")
	@Dict(dicCode = "network_type")
    @ApiModelProperty(value = "网络类型")
    private java.lang.Integer networkType;
	/**产品ID*/
	@Excel(name = "产品ID", width = 15)
    @ApiModelProperty(value = "产品ID")
    private java.lang.String productId;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**产品描述*/
	@Excel(name = "产品描述", width = 15)
    @ApiModelProperty(value = "产品描述")
    private java.lang.String productDesc;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
}
